﻿<Window x:Class="ReplicationExplorer.AboutDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="About Replication Explorer" Height="300" Width="400" 
        ShowInTaskbar="False" 
        WindowStartupLocation="CenterOwner"
        ResizeMode="NoResize" 
        FocusManager.FocusedElement="{Binding ElementName=btnOK}"
        >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
        </Grid.RowDefinitions>
            <DockPanel Grid.Row="0" LastChildFill="False">
            <Button Name="btnOK" Content="Ok" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" Width="60" HorizontalAlignment="Center" Margin="10" IsDefault="True" Click="Button_Click" />
            <Image DockPanel.Dock="Left" VerticalAlignment="Top" Margin="10" Source="Images/ReplicationExplorer.png" Width="64" Height="64"></Image>
                <StackPanel>
                    <TextBlock Margin="5">Replication Explorer</TextBlock>
                    <TextBlock Margin="5">Version: 0.1</TextBlock>
                    <TextBlock Margin="5">Copyright @ 2011 - Maksymilian Mulawa</TextBlock>
                    <TextBlock Margin="5" > Description:</TextBlock>
                    <TextBlock Margin="5" TextWrapping="Wrap">Replication Explorer is a tool for browsing through SQL Server replication topology. 
                    It can also be used for troubleshooting and monitoring of the SQL Server replication.</TextBlock>
                <TextBlock Margin="5"> Website: 
                             <Hyperlink Command="{Binding Path=OpenBrowserCommand}" >
                                 <TextBlock Text="{Binding Path=DestinationUrl}"/>
                             </Hyperlink>

                        </TextBlock>

                

            </StackPanel>
            
        </DockPanel>

       
    </Grid>
</Window>
